package com.briup.myblog.dao.ext;

import com.briup.myblog.bean.basic.Carousel;
import com.github.pagehelper.PageInfo;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
public interface CarouselMapperExt {
    List<Carousel> findAllCarousel();

    List<Carousel> findAll();

    Carousel findCarouselUrl(String url);

    Carousel findCarouselName(String name);

//    List<Carousel> findCarouselYes();

    Carousel findCarouselName(String name, int num);

    Carousel findCarouselUrl(String url, int num);
}
